package com.bluedot.www.core.pojo.DTO;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * @author Ding YuXing
 * @version 1.0
 * @date 2021/9/13 15:20
 */
public class ExportUserDTO {
    /**
     * 账户名（字母、数字组合），4~15，用户注册时自动生成一个账户，登陆后可以修改
     */
    private String account;

    /**
     * 手机号
     */
    private String phoneNum;

    /**
     * 0:表示普通用户，1:表示心理咨询师，2：表示管理员，3：超级管理员
     */
    private String usertype;

    /**
     * 性别(0：男， 1：女)
     */
    private String gender;

    /**
     * 邮箱格式，30个字符以内，不可修改
     */
    private String email;

    /**
     * 生日（年龄）格式：2021-07-24
     */
    private Date birthday;

    /**
     * 用户姓名
     */
    private String name;

    /**
     * 用户状态（0：表示正常，1：表示被封禁）
     */
    private String status;

    /**
     * 兴趣爱好
     */
    private String interest;

    /**
     * 职业
     */
    private String professional;

    /**
     * 创建时间
     */
    private Timestamp gmtCreate;

    /**
     * 修改时间
     */
    private Timestamp gmtModified;

    /**
     * 最后一次登录时间
     */
    private Timestamp lastLogin;

    public ExportUserDTO() {
    }

    public ExportUserDTO(String account, String phoneNum, String usertype, String gender, String email, Date birthday, String name, String status, String interest, String professional, Timestamp gmtCreate, Timestamp gmtModified, Timestamp lastLogin) {
        this.account = account;
        this.phoneNum = phoneNum;
        this.usertype = usertype;
        this.gender = gender;
        this.email = email;
        this.birthday = birthday;
        this.name = name;
        this.status = status;
        this.interest = interest;
        this.professional = professional;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
        this.lastLogin = lastLogin;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getUsertype() {
        return usertype;
    }

    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInterest() {
        return interest;
    }

    public void setInterest(String interest) {
        this.interest = interest;
    }

    public String getProfessional() {
        return professional;
    }

    public void setProfessional(String professional) {
        this.professional = professional;
    }

    public Timestamp getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Timestamp gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Timestamp getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Timestamp gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Timestamp getLastLogin() {
        return lastLogin;
    }

    public void setLastLogin(Timestamp lastLogin) {
        this.lastLogin = lastLogin;
    }

    @Override
    public String toString() {
        return "ExportUserDTO{" +
                "account='" + account + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", usertype='" + usertype + '\'' +
                ", gender='" + gender + '\'' +
                ", email='" + email + '\'' +
                ", birthday=" + birthday +
                ", name='" + name + '\'' +
                ", status='" + status + '\'' +
                ", interest='" + interest + '\'' +
                ", professional='" + professional + '\'' +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                ", lastLogin=" + lastLogin +
                '}';
    }
}
